HAL LPTIM APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.


HAL LPTIM constants

HAL1

series

HAL2

Refer to

LPTIM_ACTIVEEDGE_FALLING

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_TRIG_FALLING

Refer to

LPTIM_ACTIVEEDGE_RISING

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_TRIG_RISING

Refer to

LPTIM_ACTIVEEDGE_RISING_FALLING

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_TRIG_RISING_FALLING

Refer to

LPTIM_CHANNEL_1

u5, h5

HAL_LPTIM_CHANNEL_1

Refer to

LPTIM_CHANNEL_2

u5, h5

HAL_LPTIM_CHANNEL_2

Refer to

LPTIM_CLOCKPOLARITY_FALLING

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_INPUT1_FALLING

Refer to

LPTIM_CLOCKPOLARITY_RISING

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_INPUT1_RISING

Refer to

LPTIM_CLOCKPOLARITY_RISING_FALLING

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_INPUT1_RISING_FALLING

Refer to

LPTIM_CLOCKSAMPLETIME_2TRANSITIONS

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1_N2

Refer to

LPTIM_CLOCKSAMPLETIME_4TRANSITIONS

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1_N4

Refer to

LPTIM_CLOCKSAMPLETIME_8TRANSITIONS

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1_N8

Refer to

LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1

Refer to

LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_CLOCKSOURCE_ULPTIM

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_COUNTERSOURCE_EXTERNAL

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_COUNTERSOURCE_INTERNAL

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_DMA_ID_CC1

u5, h5

HAL_LPTIM_DMA_ID_CC1

Refer to

LPTIM_DMA_ID_CC2

u5, h5

HAL_LPTIM_DMA_ID_CC2

Refer to

LPTIM_DMA_ID_UPDATE

u5, h5

HAL_LPTIM_DMA_ID_UPDATE

Refer to

LPTIM_DMA_CC1

u5, h5

Removed / New Usage changes

Refer to

LPTIM_DMA_CC2

u5, h5

Removed / New Usage changes

Refer to

LPTIM_DMA_UPDATE

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_ARRM

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_FLAG_ARROK

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_FLAG_CC1

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_CC1O

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_CC2

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_CC2O

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_CMP1OK

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_CMP2OK

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_CMPM

l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_FLAG_CMPOK

l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_FLAG_DIEROK

u5, h5

Removed / New Usage changes

Refer to

LPTIM_FLAG_DOWN

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_FLAG_EXTTRIG

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_FLAG_REPOK

u5, h5, l4

Removed / New Usage changes

Refer to

LPTIM_FLAG_UP

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_FLAG_UPDATE

u5, h5, l4

Removed / New Usage changes

Refer to

LPTIM_IT_ARRM

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_IT_ARROK

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_IT_CC1

u5, h5

Removed / New Usage changes

Refer to

LPTIM_IT_CC1O

u5, h5

Removed / New Usage changes

Refer to

LPTIM_IT_CC2

u5, h5

Removed / New Usage changes

Refer to

LPTIM_IT_CC2O

u5, h5

Removed / New Usage changes

Refer to

LPTIM_IT_CMP1OK

u5, h5

Removed / New Usage changes

Refer to

LPTIM_IT_CMP2OK

u5, h5

Removed / New Usage changes

Refer to

LPTIM_IT_CMPM

l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_IT_CMPOK

l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_IT_DOWN

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_IT_EXTTRIG

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_IT_REPOK

u5, h5, l4

Removed / New Usage changes

Refer to

LPTIM_IT_UP

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_IT_UPDATE

u5, h5, l4

Removed / New Usage changes

Refer to

LPTIM_IC1SOURCE_COMP1

u5, h5

HAL_LPTIM_INPUT_COMP1

Refer to

LPTIM_IC1SOURCE_COMP2

u5

HAL_LPTIM_INPUT_COMP2

Refer to

LPTIM_IC1SOURCE_EVENTOUT

h5

HAL_LPTIM_INPUT_EVENTOUT

Refer to

LPTIM_IC1SOURCE_GPIO

u5, h5

HAL_LPTIM_INPUT_GPIO

Refer to

LPTIM_IC1SOURCE_MCO1

h5

HAL_LPTIM_INPUT_MCO1

Refer to

LPTIM_IC1SOURCE_MCO2

h5

HAL_LPTIM_INPUT_MCO2

Refer to

LPTIM_IC2SOURCE_CSI_128

h5

HAL_LPTIM_INPUT_CSI_1024

Refer to

LPTIM_IC2SOURCE_GPIO

u5, h5

HAL_LPTIM_INPUT_GPIO

Refer to

LPTIM_IC2SOURCE_HSE_1M

h5

HAL_LPTIM_INPUT_RCC_HSE_1MHZ

Refer to

LPTIM_IC2SOURCE_HSI_1024

h5

HAL_LPTIM_INPUT_HSI_1024

Refer to

LPTIM_IC2SOURCE_HSI_256

u5

HAL_LPTIM_INPUT_HSI_256

Refer to

LPTIM_IC2SOURCE_HSI_8

h5

HAL_LPTIM_INPUT_HSI_8

Refer to

LPTIM_IC2SOURCE_LSE

u5, h5

HAL_LPTIM_INPUT_LSE

Refer to

LPTIM_IC2SOURCE_LSI

u5, h5

HAL_LPTIM_INPUT_LSI

Refer to

LPTIM_IC2SOURCE_MSIS_1024

u5

HAL_LPTIM_INPUT_MSI_1024

Refer to

LPTIM_IC2SOURCE_MSIS_4

u5

HAL_LPTIM_INPUT_MSI_4

Refer to

LPTIM_ICFLT_CLOCK_DIV1

u5, h5

HAL_LPTIM_FDIV1

Refer to

LPTIM_ICFLT_CLOCK_DIV2

u5, h5

HAL_LPTIM_FDIV1_N2

Refer to

LPTIM_ICFLT_CLOCK_DIV4

u5, h5

HAL_LPTIM_FDIV1_N4

Refer to

LPTIM_ICFLT_CLOCK_DIV8

u5, h5

HAL_LPTIM_FDIV1_N8

Refer to

LPTIM_ICPOLARITY_FALLING

u5, h5

HAL_LPTIM_IC_FALLING

Refer to

LPTIM_ICPOLARITY_RISING

u5, h5

HAL_LPTIM_IC_RISING

Refer to

LPTIM_ICPOLARITY_RISING_FALLING

u5, h5

HAL_LPTIM_IC_RISING_FALLING

Refer to

LPTIM_ICPSC_DIV1

u5, h5

HAL_LPTIM_IC_DIV1

Refer to

LPTIM_ICPSC_DIV2

u5, h5

HAL_LPTIM_IC_DIV2

Refer to

LPTIM_ICPSC_DIV4

u5, h5

HAL_LPTIM_IC_DIV4

Refer to

LPTIM_ICPSC_DIV8

u5, h5

HAL_LPTIM_IC_DIV8

Refer to

LPTIM_INPUT1SOURCE_COMP1

u5, h5, l4, g0, g4, h7

HAL_LPTIM_INPUT1_COMP1

Refer to

LPTIM_INPUT1SOURCE_COMP1_COMP2

l4, g0, h7

HAL_LPTIM_INPUT1_COMP1_COMP2

Refer to

LPTIM_INPUT1SOURCE_COMP2

l4, g0, h7

HAL_LPTIM_INPUT1_COMP2

Refer to

LPTIM_INPUT1SOURCE_COMP3

g4

HAL_LPTIM_INPUT1_COMP3_OUT

Refer to

LPTIM_INPUT1SOURCE_COMP5

g4

HAL_LPTIM_INPUT1_COMP5_OUT

Refer to

LPTIM_INPUT1SOURCE_COMP7

g4

HAL_LPTIM_INPUT1_COMP7_OUT

Refer to

LPTIM_INPUT1SOURCE_GPIO

u5, h5, l4, g0, g4, h7

HAL_LPTIM_INPUT1_GPIO

Refer to

LPTIM_INPUT1SOURCE_LPTIM1_CH2

h5

HAL_LPTIM_INPUT1_LPTIM1_CH2

Refer to

LPTIM_INPUT1SOURCE_LPTIM2_CH1

h5

HAL_LPTIM_INPUT1_LPTIM2_CH1

Refer to

LPTIM_INPUT1SOURCE_NOT_CONNECTED

h7

HAL_LPTIM_INPUT1_NOT_CONNECTED

Refer to

LPTIM_INPUT1SOURCE_SAI4_FSA

h7

HAL_LPTIM_INPUT1_SAI4_FSA

Refer to

LPTIM_INPUT1SOURCE_SAI4_FSB

h7

HAL_LPTIM_INPUT1_SAI4_FSB

Refer to

LPTIM_INPUT2SOURCE_COMP2

u5, l4, g0, g4, h7

HAL_LPTIM_INPUT2_COMP2

Refer to

LPTIM_INPUT2SOURCE_COMP4

g4

HAL_LPTIM_INPUT2_COMP4_OUT

Refer to

LPTIM_INPUT2SOURCE_COMP6

g4

HAL_LPTIM_INPUT2_COMP6_OUT

Refer to

LPTIM_INPUT2SOURCE_GPIO

u5, h5, l4, g0, g4, h7

HAL_LPTIM_INPUT2_GPIO

Refer to

LPTIM_OCPOLARITY_HIGH

u5, h5

HAL_LPTIM_OC_HIGH

Refer to

LPTIM_OCPOLARITY_LOW

u5, h5

HAL_LPTIM_OC_LOW

Refer to

LPTIM_OP_PAD_AF

f4

Not implemented yet in HAL2.

Refer to

LPTIM_OP_PAD_PA4

f4

Not implemented yet in HAL2.

Refer to

LPTIM_OP_PAD_PB9

f4

Not implemented yet in HAL2.

Refer to

LPTIM_OP_TIM_DAC

f4

Not implemented yet in HAL2.

Refer to

LPTIM_OUTPUTPOLARITY_HIGH

l4, f4, g0, g4, h7

HAL_LPTIM_OC_HIGH

Refer to

LPTIM_OUTPUTPOLARITY_LOW

l4, f4, g0, g4, h7

HAL_LPTIM_OC_LOW

Refer to

LPTIM_PRESCALER_DIV1

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV1

Refer to

LPTIM_PRESCALER_DIV128

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV128

Refer to

LPTIM_PRESCALER_DIV16

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV16

Refer to

LPTIM_PRESCALER_DIV2

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV2

Refer to

LPTIM_PRESCALER_DIV32

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV32

Refer to

LPTIM_PRESCALER_DIV4

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV4

Refer to

LPTIM_PRESCALER_DIV64

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV64

Refer to

LPTIM_PRESCALER_DIV8

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CLK_SRC_DIV8

Refer to

LPTIM_TRIGSAMPLETIME_2TRANSITIONS

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1_N2

Refer to

LPTIM_TRIGSAMPLETIME_4TRANSITIONS

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1_N4

Refer to

LPTIM_TRIGSAMPLETIME_8TRANSITIONS

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1_N8

Refer to

LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_FDIV1

Refer to

LPTIM_TRIGSOURCE_0

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_1

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_2

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_3

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_4

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_5

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_6

u5, h5, l4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_7

u5, h5, l4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_8

g4

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_9

g4

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_10

g4

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_11

g4

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_12

g4

Removed / New Usage changes

Refer to

LPTIM_TRIGSOURCE_SOFTWARE

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_UPDATE_ENDOFPERIOD

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_UPDATE_IMMEDIATE

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to


HAL LPTIM enumerations

HAL1

series

HAL2

Refer to

HAL_LPTIM_ACTIVE_CHANNEL_1

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_ACTIVE_CHANNEL_2

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_ACTIVE_CHANNEL_CLEARED

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_ActiveChannel

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_CHANNEL_STATE_BUSY

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_CHANNEL_STATE_READY

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_CHANNEL_STATE_RESET

u5, h5

HAL_LPTIM_CHANNEL_STATE_RESET

Refer to

HAL_LPTIM_ChannelStateTypeDef

u5, h5

hal_lptim_channel_state_t

Refer to

HAL_LPTIM_STATE_BUSY

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_STATE_ACTIVE

Refer to

HAL_LPTIM_STATE_ERROR

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_STATE_READY

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_STATE_IDLE

Refer to

HAL_LPTIM_STATE_RESET

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_STATE_RESET

Refer to

HAL_LPTIM_STATE_TIMEOUT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_StateTypeDef

u5, h5, l4, f4, g0, g4, h7

hal_lptim_state_t

Refer to

HAL_LPTIM_AUTORELOAD_MATCH_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_AUTORELOAD_WRITE_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_COMPARE_MATCH_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_COMPARE_WRITE_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_DIRECTION_DOWN_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_DIRECTION_UP_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_ERROR_CB_ID

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_CAPTURE_CB_ID

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_CAPTURE_HALF_CB_ID

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_MSPDEINIT_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_MSPINIT_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_OVER_CAPTURE_CB_ID

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_REP_COUNTER_WRITE_CB_ID

u5, h5, l4

Removed / New Usage changes

Refer to

HAL_LPTIM_TRIGGER_CB_ID

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_UPDATE_EVENT_CB_ID

u5, h5, l4

Removed / New Usage changes

Refer to

HAL_LPTIM_UPDATE_EVENT_HALF_CB_ID

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_CallbackIDTypeDef

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to


HAL LPTIM structures

HAL1

series

HAL2

Refer to

LPTIM_InitTypeDef

u5, h5, l4, f4, g0, g4, h7

hal_lptim_config_t

Refer to

LPTIM_ClockConfigTypeDef

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

LPTIM_HandleTypeDef

u5, h5, l4, f4, g0, g4, h7

hal_lptim_handle_t

Refer to

LPTIM_IC_ConfigTypeDef

u5, h5

hal_lptim_ic_config_t

Refer to

LPTIM_OC_ConfigTypeDef

u5, h5

hal_lptim_oc_config_t

Refer to

LPTIM_TriggerConfigTypeDef

u5, h5, l4, f4, g0, g4, h7

hal_lptim_ext_trig_config_t

Refer to

LPTIM_ULPClockConfigTypeDef

u5, h5, l4, f4, g0, g4, h7

hal_lptim_input1_config_t

Refer to


HAL LPTIM macros

HAL1

series

HAL2

Refer to

__HAL_LPTIM_AUTORELOAD_SET

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_CAPTURE_COMPARE_DISABLE

u5, h5

Removed / New Usage changes

Refer to

__HAL_LPTIM_CAPTURE_COMPARE_ENABLE

u5, h5

Removed / New Usage changes

Refer to

__HAL_LPTIM_COMPARE_SET

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_ENABLE

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_ENABLE_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_ENABLE_DMA

u5, h5

Removed / New Usage changes

Refer to

__HAL_LPTIM_DISABLE

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_DISABLE_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_DISABLE_DMA

u5, h5

Removed / New Usage changes

Refer to

__HAL_LPTIM_GET_FLAG

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_CLEAR_FLAG

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_GET_IT_SOURCE

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_REPETITIONCOUNTER_SET

u5, h5, l4

Removed / New Usage changes

Refer to

__HAL_LPTIM_REPETITIONCOUNTER_GET

u5, h5, l4

Removed / New Usage changes

Refer to

__HAL_LPTIM_RESET_COUNTER

u5, h5, l4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_RESET_COUNTER_AFTERREAD

u5, h5, l4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_RESET_HANDLE_STATE

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_START_CONTINUOUS

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_START_SINGLE

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

__HAL_LPTIM_LPTIM1_EXTI_DISABLE_EVENT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_LPTIM1_EXTI_DISABLE_IT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_LPTIM1_EXTI_ENABLE_EVENT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_LPTIM1_EXTI_ENABLE_IT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_LPTIM2_EXTI_DISABLE_EVENT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_LPTIM2_EXTI_DISABLE_IT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_LPTIM2_EXTI_ENABLE_EVENT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_LPTIM2_EXTI_ENABLE_IT

l4, g0

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_OPTR_CONFIG

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_CLEAR_FLAG

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_EVENT

f4, g4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_FALLING_EDGE

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_IT

f4, g4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_RISING_EDGE

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_RISING_FALLING_EDGE

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_EVENT

f4, g4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_FALLING_EDGE

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_IT

f4, g4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_RISING_FALLING_EDGE

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_GENERATE_SWIT

f4

Not implemented yet in HAL2.

Refer to

__HAL_LPTIM_WAKEUPTIMER_EXTI_GET_FLAG

f4

Not implemented yet in HAL2.

Refer to

LPTIM_EXTI_LINE_LPTIM1

l4, g0

Not implemented yet in HAL2.

Refer to

LPTIM_EXTI_LINE_LPTIM2

l4, g0

Not implemented yet in HAL2.

Refer to

LPTIM_EXTI_LINE_WAKEUPTIMER_EVENT

f4, g4

Not implemented yet in HAL2.

Refer to


HAL LPTIM functions

HAL1

series

HAL2

Refer to

HAL_LPTIM_IRQHandler

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_IRQHandler

Refer to

HAL_LPTIM_TriggerCallback

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_TriggerCallback

Refer to

HAL_LPTIM_AutoReloadMatchCallback

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_AutoReloadMatchCallback

Refer to

HAL_LPTIM_AutoReloadWriteCallback

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_AutoReloadUpdateCallback

Refer to

HAL_LPTIM_CompareMatchCallback

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CompareMatchCallback

Refer to

HAL_LPTIM_CompareWriteCallback

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_CompareUpdateCallback

Refer to

HAL_LPTIM_DirectionDownCallback

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_DirectionDownCallback

Refer to

HAL_LPTIM_DirectionUpCallback

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_DirectionUpCallback

Refer to

HAL_LPTIM_RepCounterWriteCallback

u5, h5, l4

HAL_LPTIM_RepUpdateCallback

Refer to

HAL_LPTIM_UpdateEventCallback

u5, h5, l4

HAL_LPTIM_UpdateCallback

Refer to

HAL_LPTIM_UpdateEventHalfCpltCallback

u5, h5

HAL_LPTIM_UpdateHalfCpltCallback

Refer to

HAL_LPTIM_IC_CaptureCallback

u5, h5

HAL_LPTIM_InputCaptureCallback

Refer to

HAL_LPTIM_IC_CaptureHalfCpltCallback

u5, h5

HAL_LPTIM_InputCaptureHalfCpltCallback

Refer to

HAL_LPTIM_IC_OverCaptureCallback

u5, h5

HAL_LPTIM_InputOverCaptureCallback

Refer to

HAL_LPTIM_ErrorCallback

u5, h5

HAL_LPTIM_ErrorCallback

Refer to

pLPTIM_CallbackTypeDef

u5, h5, l4, f4, g0, g4, h7

hal_lptim_cb_t

Refer to

HAL_LPTIM_RegisterCallback

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_UnRegisterCallback

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_Counter_Start

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_Start

Refer to

HAL_LPTIM_Counter_Start_IT

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_Start_IT

Refer to

HAL_LPTIM_Counter_Stop

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_Stop

Refer to

HAL_LPTIM_Counter_Stop_IT

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_Stop_IT

Refer to

HAL_LPTIM_GetState

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_GetState

Refer to

HAL_LPTIM_Init

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_Init

Refer to

HAL_LPTIM_DeInit

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_DeInit

Refer to

HAL_LPTIM_MspDeInit

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_MspInit

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_Encoder_Start

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_Encoder_Start_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_Encoder_Stop

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_Encoder_Stop_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_ConfigChannel

u5, h5

HAL_LPTIM_IC_SetConfigChannel

Refer to

HAL_LPTIM_IC_Start

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_Start_DMA

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_Start_IT

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_Stop

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_Stop_DMA

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_Stop_IT

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_IC_GetOffset

u5, h5

Not implemented yet in HAL2.

Refer to

HAL_LPTIM_OC_ConfigChannel

u5, h5

HAL_LPTIM_OC_SetConfigChannel

Refer to

HAL_LPTIM_OnePulse_Start

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_OnePulse_Start_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_OnePulse_Stop

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_OnePulse_Stop_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_PWM_Start

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_PWM_Start_DMA

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_PWM_Start_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_PWM_Stop

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_PWM_Stop_DMA

u5, h5

Removed / New Usage changes

Refer to

HAL_LPTIM_PWM_Stop_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_SetOnce_Start

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_SetOnce_Start_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_SetOnce_Stop

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_SetOnce_Stop_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_TimeOut_Start

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_TimeOut_Start_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_TimeOut_Stop

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_TimeOut_Stop_IT

u5, h5, l4, f4, g0, g4, h7

Removed / New Usage changes

Refer to

HAL_LPTIM_ReadAutoReload

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_GetPeriod

Refer to

HAL_LPTIM_ReadCapturedValue

u5, h5

HAL_LPTIM_IC_ReadChannelCapturedValue

Refer to

HAL_LPTIM_ReadCounter

u5, h5, l4, f4, g0, g4, h7

HAL_LPTIM_GetCounter

Refer to

HAL_LPTIM_ReadCompare

l4, f4, g0, g4, h7

Not implemented yet in HAL2.

Refer to


HAL LPTIM legacy aliases (HAL1 to HAL1)

Note

This table provides a list of HAL1 to HAL1 legacy aliases defined in the stm32_hal_legacy.h HAL1 header file. To migrate the aliased HAL1 APIs, search for them in the HAL1 to HAL2 sections: HAL LPTIM constants, HAL LPTIM enumerations, HAL LPTIM macros, HAL LPTIM structures, HAL LPTIM functions.

HAL1 legacy API alias

HAL1 API

HAL_LPTIM_ReadCompare

HAL_LPTIM_ReadCapturedValue

LPTIM_CLOCKPOLARITY_BOTHEDGES

LPTIM_CLOCKPOLARITY_RISING_FALLING

LPTIM_CLOCKPOLARITY_FALLINGEDGE

LPTIM_CLOCKPOLARITY_FALLING

LPTIM_CLOCKPOLARITY_RISINGEDGE

LPTIM_CLOCKPOLARITY_RISING

LPTIM_CLOCKSAMPLETIME_2TRANSISTIONS

LPTIM_CLOCKSAMPLETIME_2TRANSITIONS

LPTIM_CLOCKSAMPLETIME_4TRANSISTIONS

LPTIM_CLOCKSAMPLETIME_4TRANSITIONS

LPTIM_CLOCKSAMPLETIME_8TRANSISTIONS

LPTIM_CLOCKSAMPLETIME_8TRANSITIONS

LPTIM_CLOCKSAMPLETIME_DIRECTTRANSISTION

LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION

LPTIM_TRIGSAMPLETIME_2TRANSISTIONS

LPTIM_TRIGSAMPLETIME_2TRANSITIONS

LPTIM_TRIGSAMPLETIME_4TRANSISTIONS

LPTIM_TRIGSAMPLETIME_4TRANSITIONS

LPTIM_TRIGSAMPLETIME_8TRANSISTIONS

LPTIM_TRIGSAMPLETIME_8TRANSITIONS

LPTIM_TRIGSAMPLETIME_DIRECTTRANSISTION

LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION

__HAL_LPTIM_DISABLE_INTERRUPT

__HAL_LPTIM_DISABLE_IT

__HAL_LPTIM_ENABLE_INTERRUPT

__HAL_LPTIM_ENABLE_IT

__HAL_LPTIM_GET_ITSTATUS

__HAL_LPTIM_GET_IT_SOURCE